// import "./Tool";
/*if(Tool.isKanKanBrowser()) {
  throw new Error("KanKanBrowser is not implemented");
} else if (typeof chrome !== "undefined") {
  const browser = chrome;
} else {
  throw new Error("browser is not implemented");
}*/

async function start() {
    chrome.runtime.onInstalled.addListener(({reason}) => {
        if(reason === 'install') {
            chrome.tabs.create({
                url: "onboarding.html"
            });
        }
    });
}

chrome.action.onClicked.addListener(() => {
    console.log("action.onClicked");
    chrome.windows.create({
        focused: true,
        url: "index.html"
    })
});
